package com.ygqh.baby.mapper;

import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.po.YgAlipayRefundRecord;
import com.ygqh.baby.po.YgAlipayRefundRecordExample;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface YgAlipayRefundRecordMapper {
	int countByExample(YgAlipayRefundRecordExample example);

	int deleteByExample(YgAlipayRefundRecordExample example);

	int deleteByPrimaryKey(Long id);

	int insert(YgAlipayRefundRecord record);

	int insertSelective(YgAlipayRefundRecord record);

	List<YgAlipayRefundRecord> selectByExample(YgAlipayRefundRecordExample example);

	YgAlipayRefundRecord selectByPrimaryKey(Long id);

	int updateByExampleSelective(@Param("record") YgAlipayRefundRecord record, @Param("example") YgAlipayRefundRecordExample example);

	int updateByExample(@Param("record") YgAlipayRefundRecord record, @Param("example") YgAlipayRefundRecordExample example);

	int updateByPrimaryKeySelective(YgAlipayRefundRecord record);

	int updateByPrimaryKey(YgAlipayRefundRecord record);

	List<YgAlipayRefundRecord> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param("q") String q);

	int countSuper(@Param("q") String q);

	int updateSuccess(@Param("batchNo") String batchNo, @Param("successTime") Date successTime, @Param("resultDetails") String resultDetails);
}